import React from 'react'
import {  NavBar,SubmitBar, Checkbox,} from 'react-vant';
import { useNavigate } from 'react-router-dom';



function Shop() {
    const Navigate = useNavigate();

    return (
        <div className='Shop'>
            <NavBar
                title="购物车列表"
            />
            <main></main>
            <footer>
                <SubmitBar
                    price="3050"
                    buttonText="提交订单"
                    tip={
                        <>
                        你的收货地址不支持同城送,
                        <span style={{ color: '#1989fa' }} onClick={()=>Navigate('/Add')}>修改地址</span>
                        </>
                    }
                    >
                    <Checkbox>全选</Checkbox>
                </SubmitBar>
            </footer>
        </div>
    )
}

export default Shop